package com.cskaoyan.bean.groupon;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.time.LocalDateTime;

/**
 * @program: whyccz-mall-project
 * @description:
 * @create: 2021-06-09 22:34
 **/
@Data
public class GrouponRecordBean {
	private ItemGrouponVO groupon;
	private ItemRulesVO rules;
	private ItemSubGrouponsVO subGroupons;
	private String iconUrl;
//	//litemall_groupon.id
//	Integer id;
//	// litemall_groupon.order_id
//	private Integer orderId;
//	private Integer rulesId;
//	private Integer grouponId;//litemall_groupon.groupon_id
//	private Integer creatorUserId;
//	private Integer userId;
//	private Integer userNumber;
//	private LocalDateTime creatorUserTime;
//	private Short payed;
//	private Integer discount;
//	private Integer discountNumber;
//	private String shareUrl;
//	@DateTimeFormat(pattern = "yyyy-MM-dd")
//	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")//响应json格式
//	private Timestamp addTime;
//	@DateTimeFormat(pattern = "yyyy-MM-dd")
//	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")//响应json格式
//	private Timestamp updateTime;
//	private Boolean deleted;
}
